package com.zerotwo.exam.common.core.base;

import com.zerotwo.exam.common.core.enums.ClientIdEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * @author 02
 * @version 1.0
 * @Date 2024/7/5
 * @Description 登录用户信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class LoginUser {
        private Integer id;
        private String username;
        private String password;
        private Boolean enabled;
        private ClientIdEnum clientId;
        private String ip;
        private List<String> roles;
}
